package example;

import java.io.FileOutputStream;
import java.io.ObjectOutputStream;

public class VF1 implements VF {

    public String name;

    @Override public void call() throws Exception {
        System.out.println(name);
    }

    public static void main(String[] args) throws Exception {
        ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream("C:\\Users\\HUAWEI\\Desktop\\VF1"));
        final VF1          vf1 = new VF1();
        vf1.name = "测试spark";
        oos.writeObject(vf1);
        oos.close();
    }
}
